package com.cwh.taskcenter.domain.reward.model;

import com.alibaba.cola.domain.Entity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author cwh
 */
@Entity
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UserPointRecord {

    /**
     *
     */
    private Long id;

    /**
     *
     */
    private Long userId;

    /**
     * 业务id
     */
    private Long bizId;

    /**
     * 业务类型
     */
    private String bizType;

    /**
     * 积分标题
     */
    private String title;

    /**
     * 积分描述
     */
    private String desc;

    /**
     * 变动积分
     */
    private Long changePoint;

    /**
     * 总积分
     */
    private Long totalPoint;

    /**
     * 创建时间
     */
    private LocalDateTime createdTime;

}
